
#include <stdlib.h>
#include "dll.h"

void		dll_free(t_dll **node)
{
  t_dll		*c_node;

  c_node = *node;
  dll_first(&c_node);
  while (c_node != NULL)
    dll_del(&c_node);
}
